package com.homer.android.sdk.command.uart;

import java.net.InetAddress;

import com.homer.android.sdk.command.IEspCommandLocal;
import com.homer.android.sdk.command.IEspCommandUart;
import com.homer.android.sdk.devcie.status.IEspStatusUart;

public interface IEspCommandUartPostStatusLocal extends IEspCommandLocal, IEspCommandUart
{
    /**
     * @deprecated Use {@link #doCommandUartPostStatusLocal(InetAddress, IEspStatusUart, String, String)} instead of it,
     * and the deviceBssid=null when you call the method
     * 
     * post the statusUart to the Uart by Local
     * @param inetAddress the Uart ip address
     * @param statusUart the status of Uart
     * @return whether the command executed suc
     */
	boolean doCommandUartPostStatusLocal(InetAddress inetAddress,String base64Param);
    
    /**
     * post the statusUart to the Uart by Local
     * 
     * @param inetAddress the Uart's ip address
     * @param statusPlug the status of Uart
     * @param deviceBssid the Uart's bssid
     * @param isMeshDevice whether the Uart is mesh device
     * @return whether the command executed suc
     */
    boolean doCommandUartPostStatusLocal(InetAddress inetAddress, String base64Param, String deviceBssid);    
    
}
